﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SweetSQL.Data.Providers
{
    internal abstract class SyntaxProviderBase : ISyntaxProvider
    {
        #region ISqlSyntaxProvider Members

        public virtual bool SupportsIfExists
        {
            get { return false; }
        }

        public virtual string CreateParameterName(int index)
        {
            throw new NotImplementedException();
        }

        public virtual void AppendTable(StringBuilder builder, TableInfo tableInfo) { }

        public virtual void AppendColumn(StringBuilder builder, ColumnInfo columnInfo) { }

        public virtual void AppendCreateColumn(StringBuilder builder, ColumnInfo columnInfo) { }

        public virtual void AppendPrimaryKeys(StringBuilder builder, TableInfo tableInfo) { }

        #endregion
    }
}
